package com.graduation_design.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.graduation_design.entity.AppProduct;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 从南
* @description 针对表【app_product】的数据库操作Service
* @createDate 2024-02-16 18:15:58
*/
public interface AppProductService extends IService<AppProduct> {

    Object pageByCategoryId(Page page, Long categoryId, Integer sort);

    AppProduct getWithAttrsById(Long productId);

    Page<AppProduct> pageWithCategory(Page page, String name, Long categoryId);

    void create(AppProduct appProduct);
}
